#ifndef SMARTMODE_H
#define SMARTMODE_H

#include <iostream>
using namespace std;

#include "DataContainer.h"
#include "SmartAnalyse.h"
#include "InfoContainer.h"
#include "AirConditionTerminal_YL.h"
#include "Queue.h"
class CSmartMode
{
public:
    CSmartMode();
    ~CSmartMode();

    bool Init();
    bool Run();
    void Cleanup();

private:
    void SmartControl(int TerminalType);
    CAirConditionTerminal CreateAirConditionTerminal(int AirConditionType);
//  CLightTerminal CreateLightTerminal(int LightType);
    CSmartAnalyse CreateSmartAnalyse(int TerminalType);

private:
    CDataContainer * DataContainer;
    CInfoContainer * InfoContainer;
    CQueue * Queue;

};

#endif // SMARTMODE_H
